package com.yz.lzq.liwushuo.jsonbean.home.welcome;

import java.util.List;

/**
 * Created by Administrator on 2016/12/2.
 * 加载欢迎界面的第二张图，请求网络用到的Bean类
 * 这里只需要img_url
 */

public class WelcomeSecondBean {

    /**
     * code : 200
     * data : {"splash":{"ad_monitors":[],"duration":3,"end_at":1480694400,"id":82,"image_url":"http://img01.liwushuo.com/image/161130/uz9mptlc3.jpg-w720","start_at":1480521600,"url":"http://redirect.liwushuo.com/j/1212","webp_url":"http://img01.liwushuo.com/image/161130/uz9mptlc3.jpg?imageView2/2/w/720/q/85/format/webp"}}
     * message : OK
     */

    private int code;
    private DataBean data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * splash : {"ad_monitors":[],"duration":3,"end_at":1480694400,"id":82,"image_url":"http://img01.liwushuo.com/image/161130/uz9mptlc3.jpg-w720","start_at":1480521600,"url":"http://redirect.liwushuo.com/j/1212","webp_url":"http://img01.liwushuo.com/image/161130/uz9mptlc3.jpg?imageView2/2/w/720/q/85/format/webp"}
         */

        private SplashBean splash;

        public SplashBean getSplash() {
            return splash;
        }

        public void setSplash(SplashBean splash) {
            this.splash = splash;
        }

        public static class SplashBean {
            /**
             * ad_monitors : []
             * duration : 3
             * end_at : 1480694400
             * id : 82
             * image_url : http://img01.liwushuo.com/image/161130/uz9mptlc3.jpg-w720
             * start_at : 1480521600
             * url : http://redirect.liwushuo.com/j/1212
             * webp_url : http://img01.liwushuo.com/image/161130/uz9mptlc3.jpg?imageView2/2/w/720/q/85/format/webp
             */

            private int duration;
            private int end_at;
            private int id;
            private String image_url;
            private int start_at;
            private String url;
            private String webp_url;
            private List<?> ad_monitors;

            public int getDuration() {
                return duration;
            }

            public void setDuration(int duration) {
                this.duration = duration;
            }

            public int getEnd_at() {
                return end_at;
            }

            public void setEnd_at(int end_at) {
                this.end_at = end_at;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getImage_url() {
                return image_url;
            }

            public void setImage_url(String image_url) {
                this.image_url = image_url;
            }

            public int getStart_at() {
                return start_at;
            }

            public void setStart_at(int start_at) {
                this.start_at = start_at;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getWebp_url() {
                return webp_url;
            }

            public void setWebp_url(String webp_url) {
                this.webp_url = webp_url;
            }

            public List<?> getAd_monitors() {
                return ad_monitors;
            }

            public void setAd_monitors(List<?> ad_monitors) {
                this.ad_monitors = ad_monitors;
            }
        }
    }
}
